package jp.co.neosystem.s2wg.service.flex.impl;

import jp.co.neosystem.s2wg.dto.flex.ArgsLogout;
import jp.co.neosystem.s2wg.dto.flex.ResultLogout;
import jp.co.neosystem.s2wg.service.flex.LogoutService;
import jp.co.neosystem.s2wg.util.MessageCode;
import jp.co.neosystem.s2wg.util.StatusFactory;

import org.seasar.flex2.rpc.remoting.service.annotation.RemotingService;

/**
 * ログアウト処理サービスクラス。
 */
@RemotingService
public class LogoutServiceImpl implements LogoutService {

	@Override
	public ResultLogout logout(final ArgsLogout args, final boolean isTest) {
		final ResultLogout ret = new ResultLogout();

		ret.setStatus(StatusFactory.getStatus(MessageCode.LOGIN_OK));
		return ret;
	}

}
